[INFO] fetching crate megenginelite-rs 1.8.2...
[INFO] fixing megenginelite-rs-1.8.2 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate megenginelite-rs 1.8.2 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate megenginelite-rs 1.8.2
[INFO] finished tweaking crates.io crate megenginelite-rs 1.8.2
[INFO] tweaked toml for crates.io crate megenginelite-rs 1.8.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate megenginelite-rs 1.8.2 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 96 packages to latest compatible versions
[INFO] [stderr]       Adding async-channel v1.9.0 (available: v2.5.0)
[INFO] [stderr]       Adding ndarray v0.15.6 (available: v0.17.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ea18f4bc7f721e674beeaf57fdb38c05b535762e85351ac319c05f900b8d6d09
[INFO] running `Command { std: "docker" "start" "ea18f4bc7f721e674beeaf57fdb38c05b535762e85351ac319c05f900b8d6d09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ea18f4bc7f721e674beeaf57fdb38c05b535762e85351ac319c05f900b8d6d09" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ea18f4bc7f721e674beeaf57fdb38c05b535762e85351ac319c05f900b8d6d09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ea18f4bc7f721e674beeaf57fdb38c05b535762e85351ac319c05f900b8d6d09" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   libc v0.2.186 (as host dependency) removed features: default, extra_traits, std
[INFO] [stderr] 
[INFO] [stderr] The following differences only apply when building with dev-dependencies:
[INFO] [stderr] 
[INFO] [stderr]   syn v2.0.118 (as host dependency) removed features: extra-traits, visit, visit-mut
[INFO] [stderr] 
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling humantime v2.3.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling bindgen v0.59.2
[INFO] [stderr]     Checking libloading v0.7.4
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling megenginelite-derive v0.2.0
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling regex v1.12.4
[INFO] [stderr]    Compiling env_logger v0.9.3
[INFO] [stderr]    Compiling megenginelite-sys v1.8.2
[INFO] [stderr]     Checking megenginelite-rs v1.8.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.60s
[INFO] [stderr] crater-edition-check: megenginelite-rs v1.8.2 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling env_logger v0.9.3
[INFO] [stderr]    Compiling bindgen v0.59.2
[INFO] [stderr]    Compiling megenginelite-sys v1.8.2
[INFO] [stderr]     Checking megenginelite-rs v1.8.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/api.rs:17:31
[INFO] [stdout]    |
[INFO] [stdout] 17 |                       let api = API
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 18 | |                         .as_ref()
[INFO] [stdout]    | |_________________________________^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/api.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         API.as_ref()
[INFO] [stdout]    |         ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/api.rs:114:19
[INFO] [stdout]     |
[INFO] [stdout] 114 |           let api = API
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 115 | |             .as_ref()
[INFO] [stdout]     | |_____________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/api.rs:17:31
[INFO] [stdout]    |
[INFO] [stdout] 17 |                       let api = API
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 18 | |                         .as_ref()
[INFO] [stdout]    | |_________________________________^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/api.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         API.as_ref()
[INFO] [stdout]    |         ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/api.rs:114:19
[INFO] [stdout]     |
[INFO] [stdout] 114 |           let api = API
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 115 | |             .as_ref()
[INFO] [stdout]     | |_____________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.76s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   libc v0.2.186 (as host dependency) removed features: default, extra_traits, std
[INFO] [stderr] 
[INFO] [stderr] The following differences only apply when building with dev-dependencies:
[INFO] [stderr] 
[INFO] [stderr]   syn v2.0.118 (as host dependency) removed features: extra-traits, visit, visit-mut
[INFO] [stderr] 
[INFO] [stderr]     Checking megenginelite-rs v1.8.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/network.rs (1 fix)
[INFO] [stderr]        Fixed src/tensor.rs (1 fix)
[INFO] [stderr]        Fixed src/api.rs (1 fix)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/api.rs:47:33
[INFO] [stdout]    |
[INFO] [stdout] 46 |         for name in std::fs::read_dir(&dir).ok()? {
[INFO] [stdout]    |                     -----------------------------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |                     `#1` will be dropped later as of Edition 2024
[INFO] [stdout] 47 |             if let Some(path) = name.ok() {
[INFO] [stdout]    |                         ----    ^^^^^^^^^
[INFO] [stdout]    |                         |       |
[INFO] [stdout]    |                         |       this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]    |                         |       up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]    |                         `path` calls a custom destructor
[INFO] [stdout]    |                         `path` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 55 |         }
[INFO] [stdout]    |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `path` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/api.rs:17:31
[INFO] [stdout]    |
[INFO] [stdout] 17 |                       let api = API
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 18 | |                         .as_ref()
[INFO] [stdout]    | |_________________________________^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/api.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         API.as_ref()
[INFO] [stdout]    |         ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/api.rs:114:19
[INFO] [stdout]     |
[INFO] [stdout] 114 |           let api = API
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 115 | |             .as_ref()
[INFO] [stdout]     | |_____________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/api.rs:47:33
[INFO] [stdout]    |
[INFO] [stdout] 46 |         for name in std::fs::read_dir(&dir).ok()? {
[INFO] [stdout]    |                     -----------------------------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |                     `#1` will be dropped later as of Edition 2024
[INFO] [stdout] 47 |             if let Some(path) = name.ok() {
[INFO] [stdout]    |                         ----    ^^^^^^^^^
[INFO] [stdout]    |                         |       |
[INFO] [stdout]    |                         |       this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]    |                         |       up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]    |                         `path` calls a custom destructor
[INFO] [stdout]    |                         `path` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 55 |         }
[INFO] [stdout]    |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `path` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/api.rs:17:31
[INFO] [stdout]    |
[INFO] [stdout] 17 |                       let api = API
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 18 | |                         .as_ref()
[INFO] [stdout]    | |_________________________________^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/api.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         API.as_ref()
[INFO] [stdout]    |         ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/api.rs:114:19
[INFO] [stdout]     |
[INFO] [stdout] 114 |           let api = API
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 115 | |             .as_ref()
[INFO] [stdout]     | |_____________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.84s
[INFO] [stderr] crater-edition-check: megenginelite-rs v1.8.2 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking megenginelite-rs v1.8.2 (/opt/rustwide/workdir)
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/api.rs:17:31
[INFO] [stdout]    |
[INFO] [stdout] 17 |                       let api = API
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 18 | |                         .as_ref()
[INFO] [stdout]    | |_________________________________^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/api.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         API.as_ref()
[INFO] [stdout]    |         ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/api.rs:114:19
[INFO] [stdout]     |
[INFO] [stdout] 114 |           let api = API
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 115 | |             .as_ref()
[INFO] [stdout]     | |_____________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `megenginelite-rs` (lib) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/api.rs:17:31
[INFO] [stdout]    |
[INFO] [stdout] 17 |                       let api = API
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 18 | |                         .as_ref()
[INFO] [stdout]    | |_________________________________^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/api.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         API.as_ref()
[INFO] [stdout]    |         ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/api.rs:114:19
[INFO] [stdout]     |
[INFO] [stdout] 114 |           let api = API
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 115 | |             .as_ref()
[INFO] [stdout]     | |_____________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `megenginelite-rs` (lib test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "ea18f4bc7f721e674beeaf57fdb38c05b535762e85351ac319c05f900b8d6d09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea18f4bc7f721e674beeaf57fdb38c05b535762e85351ac319c05f900b8d6d09", kill_on_drop: false }`
[INFO] [stdout] ea18f4bc7f721e674beeaf57fdb38c05b535762e85351ac319c05f900b8d6d09
